<%@ page import="l4cr.Salle" %>



<div class="fieldcontain ${hasErrors(bean: salleInstance, field: 'numero', 'error')} ">
	<label for="numero">
		<g:message code="salle.numero.label" default="Numero" />
		
	</label>
	<g:textField name="numero" value="${salleInstance?.numero}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: salleInstance, field: 'batiment', 'error')} ">
	<label for="batiment">
		<g:message code="salle.batiment.label" default="Batiment" />
		
	</label>
	<g:textField name="batiment" value="${salleInstance?.batiment}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: salleInstance, field: 'capacite', 'error')} required">
	<label for="capacite">
		<g:message code="salle.capacite.label" default="Capacite" />
		<span class="required-indicator">*</span>
	</label>
	<g:field type="number" name="capacite" required="" value="${fieldValue(bean: salleInstance, field: 'capacite')}"/>
</div>

<div class="fieldcontain ${hasErrors(bean: salleInstance, field: 'reservations', 'error')} ">
	<label for="reservations">
		<g:message code="salle.reservations.label" default="Reservations" />
		
	</label>
	<g:select name="reservations" from="${l4cr.Reservation.list()}" multiple="multiple" optionKey="id" size="5" value="${salleInstance?.reservations*.id}" class="many-to-many"/>
</div>

